import Vue from 'vue';
import Vuex from 'vuex';
import { actions } from './action';
import { mutations } from './mutations';
import { state } from './state';
import createLogger from 'vuex/dist/logger';
Vue.use(Vuex);

export default new Vuex.Store({
    state,
    actions,
    getters: {},
    mutations,
    plugins: [createLogger()]
})  